package com.wangsd.web.coupon.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wangsd.web.coupon.entity.Product;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author generator
 * @since 2019-09-25
 */
public interface ProductMapper extends BaseMapper<Product> {

    IPage<Product> selectListXml(Page<Product> page, @Param("code") String code, @Param("product") Product product);


    List<Product> selectProductListByCompanyId(@Param("product") Product product) ;
}
